func net.isIPv4
6 uses
net (current package)
dial.go#L501: primaries, fallbacks = addrs.partition(isIPv4)
dial.go#L726: la := addrs.first(isIPv4)
dial.go#L760: la := addrs.first(isIPv4)
ipsock.go#L63: func isIPv4(addr Addr) bool {
ipsock.go#L76: func isNotIPv4(addr Addr) bool { return !isIPv4(addr) }
ipsock.go#L94: return addrs.first(isIPv4)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |